<?php $this->_extends('../_layouts/blank_layout'); ?>
<?php $this->_block('contents'); ?>
<form method="post" action="<?=url('Setting::Basic/AmazonTokenEditSave')?>">
<table class="form_table">
<tr>
	<th>店铺名称</th>
	<td><input type="text" value="<?=isset($shop['name']) ? $shop['name'] : ''?>" disabled="disabled" /></td>
</tr>
<tr>
	<th>所属平台</th>
	<td><input type="text" value="<?=isset($shop['platform']) ? $shop['platform'] : ''?>" disabled="disabled" /></td>
</tr>
<tr>
	<th>Merchant_Id</th>
	<td><input type="text" name="merchant_id" value="<?=isset($shop['merchant_id']) ? $shop['merchant_id'] : ''?>" size="40" /></td>
</tr>
<tr>
	<th>Marketplace_Id</th>
	<td><input type="text" name="marketplace_id" value="<?=isset($shop['marketplace_id']) ? $shop['marketplace_id'] : ''?>" size="40" /></td>
</tr>
<tr>
	<th>Access_Key</th>
	<td><input type="text" name="access_key" value="<?=isset($shop['access_key']) ? $shop['access_key'] : ''?>" size="40" /></td>
</tr>
<tr>
	<th>Secret_Key</th>
	<td><input type="text" name="secret_key" value="<?=isset($shop['secret_key']) ? $shop['secret_key'] : ''?>" size="55" /></td>
</tr>
<tr>
	<th>EndPoint</th>
	<td><input type="text" name="mws_endpoint" value="<?=isset($shop['mws_endpoint']) ? $shop['mws_endpoint'] : ''?>" size="40" /></td>
</tr>
<tr>
	<th>Proxt_Host</th>
	<td><input type="text" name="proxy_host" value="<?=isset($shop['proxy_host']) ? $shop['proxy_host'] : ''?>" /></td>
</tr>
<tr>
	<th>Proxt_Port</th>
	<td><input type="text" name="proxy_port" value="<?=isset($shop['proxy_port']) ? $shop['proxy_port'] : ''?>" /></td>
</tr>
<tr>
	<th>Application</th>
	<td><input type="text" name="application_name" value="<?=isset($shop['application_name']) ? $shop['application_name'] : ''?>" /></td>
</tr>
<tr>
	<th>Version</th>
	<td><input type="text" name="version" value="<?=isset($shop['version']) ? $shop['version'] : ''?>" /></td>
</tr>
<tr>
	<th></th>
	<td>
		<input type="hidden" name="shop_id" value="<?=$shop['shop_id']?>" />
		<input type="submit" class="button" value="保存">
	</td>
</tr>
</table>
</form>
<?php $this->_endblock(); ?>